#include "stm32f4xx.h"                  // Device header for STM32F407ZGT6
#include "PWM_DUOJI.h"
#include "DUOJI.h"

void DUOJI_Init(void)
{
    PWM_DUOJI_Init();
}

void DUOJI_SetAngle(float Angle)
{
    PWM_DUOJI_SetCompare3(Angle/180*2000+500);
}